ip address (on a VLAN)

To create an IP interface on a VLAN, you must assign a primary IP address to the VLAN.

Syntax

Command Parameters

{<A.B.C.D/X> |<A.B.C.D> <A.B.C.D>}
Specifies the IP address and subnet mask in the format A.B.C.D/X or A.B.C.D A.B.C.D.
secondary
Identifies the IP address as a Secondary IP Interface.
dvr-one-ip
Specifies that the IP address will be used as the DvR gateway IP address and will be used by all other DvR Controllers for the DvR VLAN subnet.
<0-511>

Specifies a number by which to offset the MAC address from the chassis MAC address. This ensures that each IP address has a different MAC address. If you omit this variable, a unique MAC offset is automatically generated.

name WORD <0-64>
Specifies the name associated with the IP address on a VLAN.
state-disabled

Creates the IP interface in an administratively disabled state. This parameter is useful if you want to preconfigure an IP interface, including the routing protocol configuration for that interface, and enable it later during a maintenance window. This parameter applies only to the primary IP address. By default, the switch enables an IP interface after you configure the primary IP address.

Default

None

Command Mode

VLAN Interface Configuration

Usage Guidelines

The state-disabled parameter does not appear in a saved configuration file. The configuration file uses the no ip interface enable syntax.